var userClass = require( './js/user' );

Game = function()
{
    this.users = [];
}

exports.newGame = function()
{
    return new Game();
}

exports.newUser = function( game, x, y, id, color )
{
    game.users.push( userClass.createUser( x, y, id, color ) );
}